package com.archie;

import com.archie.controller.JobController;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @author linanqian
 * @date 2020-03-25
 */
public class Main {
	public static void main(String[] args) {
		AnnotationConfigApplicationContext annotationConfigApplicationContext =
				new AnnotationConfigApplicationContext(AppConfig.class);
		System.out.println(annotationConfigApplicationContext.getBean(JobController.class));
		Map<String, String> map = new ConcurrentHashMap<>(16);
		map.put("2", "2");
	}
}
